﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.YouZanYun.Model.Dto.Order.Msg.info
{
    /// <summary>
    /// 订单收货地址信息结构体
    /// </summary>
    public class Address_Info
    {
        /// <summary>
        /// 地址扩展信息（经纬度信息）
        /// </summary>
        public string address_extra { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>
        public string delivery_address { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public string delivery_city { get; set; }

        /// <summary>
        /// 区
        /// </summary>
        public string delivery_district { get; set; }

        /// <summary>
        /// 同城送预计送达时间-结束时间 非同城送以及没有开启定时达的订单不返回
        /// </summary>
        public DateTime delivery_end_time { get; set; }

        /// <summary>
        /// 邮政编码
        /// </summary>
        public string delivery_postal_code { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public string delivery_province { get; set; }

        /// <summary>
        /// 同城送预计送达时间-开始时间 非同城送以及没有开启定时达的订单不返回
        /// </summary>
        public DateTime delivery_start_time { get; set; }

        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string receiver_name { get; set; }

        /// <summary>
        /// 收货人手机号
        /// </summary>
        public string receiver_tel { get; set; }

        /// <summary>
        /// 到店自提信息 json格式
        /// </summary>
        public string self_fetch_info { get; set; }
    }

    public class address_extra
    {
        public string areaCode { get; set; }
        public float lon { get; set; }
        public float lat { get; set; }
    }
}
